package com.example.service.impl;

import com.example.mapper.GetAllRoad;
import com.example.pojo.City;
import com.example.pojo.Road;
import com.example.service.RoadService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RoadServiceImpl implements RoadService {


    @Override
    public List<Road> list() {
        return GetAllRoad.getAll();
    }

    @Override
    public List<Road> getInfoByCity(City city) {

        return null;
    }


}
